<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>
<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>

<h1>Bienvenido al Demo de <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>
<div class="metro-nav">
    <div class="metro-nav-block nav-block-grey">
        <a href="#" data-original-title="">
           <i class="icon-lock"></i>
            <div class="info">21</div>
            <div class="status">Usuarios</div>
        </a>
    </div>
    <div class="metro-nav-block nav-block-orange double">
        <a href="#" data-original-title="">
            <i class="icon-briefcase"></i>
            <div class="info"><?php echo Producto::model()->count()?></div>
            <div class="status">Productos</div>
        </a>
    </div>

   <div class="metro-nav-block nav-block-green">
       <a href="#" data-original-title="">
           <i class="icon-truck"></i>
           <div class="info"><?php echo Proveedor::model()->count()?></div>
           <div class="status">Proveedores</div>
       </a>
   </div>
    <div class="metro-nav-block nav-block-blue">
        <a href="#" data-original-title="">
            <i class="icon-tags"></i>
            <div class="info"><?php echo Categoria::model()->count()?></div>
            <div class="status">Categorias</div>
        </a>
    </div>
    <div class="metro-nav-block nav-block-yellow">
        <a href="#" data-original-title="">
            <i class="icon-dropbox"></i>
            <div class="info"><?php echo Bodega::model()->count()?></div>
            <div class="status">Bodegas</div>
        </a>
    </div>
</div>
<!--<h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>

<p>Congratulations! You have successfully created your Yii application.</p>

<p>You may change the content of this page by modifying the following two files:</p>
<ul>
	<li>View file: <code><?php echo __FILE__; ?></code></li>
	<li>Layout file: <code><?php echo $this->getLayoutFile('main'); ?></code></li>
</ul>

<p>For more details on how to further develop this application, please read
the <a href="http://www.yiiframework.com/doc/">documentation</a>.
Feel free to ask in the <a href="http://www.yiiframework.com/forum/">forum</a>,
should you have any questions.</p>-->
